import 'package:enjoy_plus/pages/tab_bar_page.dart';
import 'package:flutter/material.dart';
import 'package:enjoy_plus/pages/notice/index.dart';  // 添加这行导入语句

void main() {
  runApp(
    MaterialApp(
      routes: {
        '/': (context) => const TabBarPage(),
        //路由跳转到NoticeDetail
        '/detail': (context) => const NoticeDetail(),
      },
      initialRoute: '/',
    ),
  );
}